package com.ostrich.note.ui.calendar.repository;


import com.ostrich.note.entity.BaseResponseEntity;
import com.ostrich.note.net.RetrofitManager;
import com.ostrich.note.ui.calendar.CalendarApi;
import com.ostrich.note.ui.note.NoteApi;
import com.ostrich.note.ui.note.entity.NoteEntity;

import java.util.List;

import androidx.lifecycle.LiveData;
import retrofit2.http.Query;

public class CalendarRepository {
    private CalendarApi mCalendarApi;
    public CalendarRepository() {
        mCalendarApi = RetrofitManager.getInstance().getRetrofit().create(CalendarApi.class);
    }


    public LiveData<BaseResponseEntity<List<NoteEntity>>> noteTimeDayList(int year, int month , int day){
        return mCalendarApi.noteTimeDayList(year,month,day);
    }



}
